import Vue from 'vue'
import Router from 'vue-router'
import Index from '../index/index.vue'
import Home from '../home/index.vue'
import Search from '../search/index.vue'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'index',
            component: Index
        },
        {
            path: '/home',
            name: 'home',
            component: Home
        },
        {
            path: '/search',
            name: 'search',
            component: Search
        },
        // {
        //   path: '/search',
        //   name: 'SiteList',
        //   component: SiteList
        // }
    ]
})
